package actions;

import java.awt.event.ActionEvent;

import client_gui.ClientWindow;
import client_gui.StreamingConfigDialog;

public class StreamingSettingsAction extends RLMAbstractAction {

	
	public StreamingSettingsAction(ClientWindow owner) {
		setActionOwner(owner);
//		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0));
		putValue(SMALL_ICON, loadIcon("images/options.png"));
		putValue(NAME, "Streaming Options");
		putValue(SHORT_DESCRIPTION, "Streaming options");
		
		setActionItem();
	}
	
	
	@Override
	public void actionPerformed(ActionEvent e) {
		StreamingConfigDialog scd = new StreamingConfigDialog(getActionOwner());
		scd.setVisible(true);
	}
	
}
